(bug 29392) Setting the start or end parameter now works with lists blocks, categorym...
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Thu, 6 Oct 2011 20:46:24 +0000 (20:46 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Thu, 6 Oct 2011 20:46:24 +0000 (20:46 +0000)
commitc18151c38c5355e23206dc0a51445326b9e51aa4
tree7ba22e69866ba580fffc5fd8a017c8832dad310a
parentcd8aa6f4deb6f996abf12d82ed88c143722cf82a
(bug 29392) Setting the start or end parameter now works with lists blocks, categorymembers, deletedrevs, logevents, protectedtitles, usercontributions and watchlist in Postgres.
Since all those used ApiQueryBase::addWhereRange, added ApiQueryBase::addTimestampWhereRange, which does automagic timestamp conversion. Not tested whether this actually fixes problems in Postgres, but at least the API modules are still functional in SQLite
RELEASE-NOTES-1.19
includes/api/ApiQueryBase.php
includes/api/ApiQueryBlocks.php
includes/api/ApiQueryDeletedrevs.php
includes/api/ApiQueryLogEvents.php
includes/api/ApiQueryProtectedTitles.php
includes/api/ApiQueryRecentChanges.php
includes/api/ApiQueryRevisions.php
includes/api/ApiQueryUserContributions.php
includes/api/ApiQueryWatchlist.php